#ifndef _MAKECHANNELDIALOG_H_
#define _MAKECHANNELDIALOG_H_

#include <interfacelib/window/panel.h>
#include <interfacelib/window/editbox.h>

#define		SCRIPT_MAKE_CHANNEL_DIALOG_NAME		"MakeChannelDialog"

class MakeChannelDialog : public interfacelib::Window::Panel
{
public:
	MakeChannelDialog();
	virtual ~MakeChannelDialog();

	bool create( interfacelib::Window::LoadControl *loadControl );

	virtual void initialize();
protected:
	void onMakeChannelOKClick();
	void onMakeChannelCancelClick();

	bool makeMakeChannelPacketReq( netlib::packet::Packet *packet, char *channelName );

private:
	interfacelib::Window::EditBox *m_editChannelName;


};

#endif